Skip to content

feat: allocate Metro ports for concurrent harness runs#96

Merged
V3RON merged 3 commits intomainfrom
feat/random-metro
Apr 7, 2026
Merged

feat: allocate Metro ports for concurrent harness runs#96
V3RON merged 3 commits intomainfrom
feat/random-metro

Conversation

@V3RON
Copy link
Copy Markdown
Contributor

@V3RON V3RON commented Apr 3, 2026

Summary

  • add lock-backed Metro port fallback so concurrent Harness runs can move off a busy configured port before Metro and platform startup begin
  • keep the resolved Metro port consistent through runtime setup, logging, and Jest global config, and surface a clear fallback or exhaustion message
  • add tests for fallback, exhaustion, and iOS physical-device behavior plus a version plan describing the user-facing change

Validation

  • pnpm vitest run packages/jest/src/tests/harness.test.ts packages/jest/src/tests/metro-port.test.ts packages/platform-ios/src/tests/instance.test.ts packages/platform-android/src/tests/instance.test.ts
  • pnpm nx test jest

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-native-harness Ready Ready Preview, Comment Apr 7, 2026 7:18am

Request Review

@V3RON V3RON merged commit 3a84310 into main Apr 7, 2026
10 of 12 checks passed
@V3RON V3RON deleted the feat/random-metro branch April 7, 2026 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant